package me.zhengjie.modules.domain.intellectual;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import me.zhengjie.modules.domain.BaseClass;

import java.util.Date;

@Data
@TableName("enterprise_intellectual_works")
public class Works extends BaseClass {

    @TableId
    private Long id;

    @ApiModelProperty(value = "著作权人姓名")
    @TableField(value = "author_nationality")
    private String authorNationality;

    @ApiModelProperty(value = "发布日期")
    @TableField(value = "publish_time")
    private Date publishTime;

    @ApiModelProperty(value = "登记日期")
    @TableField(value = "reg_time")
    private Date regTime;

    @ApiModelProperty(value = "登记号")
    @TableField(value = "reg_num")
    private String regNum;

    @ApiModelProperty(value = "创作完成日期")
    @TableField(value = "finish_time")
    private Date finishTime;

    @ApiModelProperty(value = "作品类别")
    @TableField(value = "type")
    private String type;

    @ApiModelProperty(value = "作品名称")
    @TableField(value = "full_name")
    private String fullName;

    @ApiModelProperty(value = "企业id")
    @TableField(value = "companies_id")
    private Long companiesId;

    @ApiModelProperty(value = "批次号")
    @TableField(value = "batch_id")
    private Long batchId;

}
